x11: Unify focus handling code
authorBenjamin Otte <otte@redhat.com>
Mon, 19 Dec 2011 10:19:35 +0000 (11:19 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 19 Dec 2011 15:17:13 +0000 (16:17 +0100)
commit2ea328dfbc820c32a6f425805e632cd1aef45258
tree12efeee8f1f2b93306fee3c216a4ba527bedc164
parent3d4a8dabb242679c59398f46cf847aa5bc9d7704
x11: Unify focus handling code

This code was essentially copy-pasted in two locations, so unify them in
the same place.

https://bugzilla.gnome.org/show_bug.cgi?id=657578
gdk/x11/gdkdevicemanager-core-x11.c
gdk/x11/gdkdevicemanager-xi2.c
gdk/x11/gdkdevicemanagerprivate-core.h